<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> 
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="icon" href="images/favicon.ico" type="image/ico" />

    <title>迈涯堂</title>

    <!-- Bootstrap -->
    <link href="../cms/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="../cms/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!--NProgress-->
    <!--<link href="../cms/vendors/nprogress/nprogress.css" rel="stylesheet">-->
    <!-- iCheck -->
    <link href="../cms/vendors/iCheck/skins/flat/green.css" rel="stylesheet">
    <!-- PNotify -->
    <link href="../cms/vendors/pnotify/dist/pnotify.css" rel="stylesheet">
    <link href="../cms/vendors/pnotify/dist/pnotify.buttons.css" rel="stylesheet">
    <link href="../cms/vendors/pnotify/dist/pnotify.nonblock.css" rel="stylesheet">
    <!-- bootstrap-progressbar -->
    <link href="../cms/vendors/bootstrap-progressbar/css/bootstrap-progressbar-3.3.4.min.css" rel="stylesheet">
    <!-- JQVMap -->
    <link href="../cms/vendors/jqvmap/dist/jqvmap.min.css" rel="stylesheet"/>
    <!-- bootstrap-daterangepicker -->
    <link href="../cms/vendors/bootstrap-daterangepicker/daterangepicker.css" rel="stylesheet">
    <!-- Datatables -->
    <link href="../cms/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="../cms/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css" rel="stylesheet">
    <link href="../cms/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css" rel="stylesheet">
    <link href="../cms/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css" rel="stylesheet">
    <link href="../cms/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css" rel="stylesheet">
    <!-- Switchery -->
    <link href="../cms/vendors/switchery/dist/switchery.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="../cms/build/css/custom.css" rel="stylesheet">
</head>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>迈涯堂</span></a>
            </div>

            <div class="clearfix"></div>

            <!-- menu profile quick info -->
            <div class="profile clearfix">
              <div class="profile_info">
                <span>欢迎,</span>
                <h2 th:text="${user.realName}"></h2>
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
                <h3>管理菜单</h3>
                <ul class="nav side-menu">
                  <li th:each="menu : ${menuList}"><a><i th:class="${menu.icon}"></i> <span th:text="${menu.menuName}"></span> <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                      <li th:each="childMenu : ${menu.childMenuList}">
                      	<a th:text="${childMenu.menuName}" th:onclick="'javascript:loadPage(\''+${childMenu.menuUrl}+'\')'" >Dashboard</a></li>
                    </ul>
                  </li>
                </ul>
              </div>

            </div>
            <!-- /sidebar menu -->

            <!-- /menu footer buttons -->
            <div class="sidebar-footer hidden-small">
              <a data-toggle="tooltip" data-placement="top" title="Settings">
              <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
            </a>
              <a data-toggle="tooltip" data-placement="top" title="FullScreen">
                <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="Lock">
                <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
              </a>
              <a data-toggle="tooltip" data-placement="top" title="退出" href="/cms/logout">
                <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
              </a>
            </div>
            <!-- /menu footer buttons -->
          </div>
        </div>

        <!-- top navigation -->
        <div class="top_nav">
          <div class="nav_menu">
            <nav>
              <div class="nav toggle">
                <a id="menu_toggle"><i class="fa fa-bars"></i></a>
              </div>

              <ul class="nav navbar-nav navbar-right">
                <li class="">
                  <a href="javascript:" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <i th:text="${user.realName}"></i>
                    <span class=" fa fa-angle-down"></span>
                  </a>
                  <ul class="dropdown-menu dropdown-usermenu pull-right">
                    <li><a href="/cms/logout"><i class="fa fa-sign-out pull-right"></i> 退出</a></li>
                  </ul>
                </li>
              </ul>
            </nav>
          </div>
        </div>
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
        	<div class="">
	          <div id="pageContent">
	            <div class="page-title">
	              <div class="title_left">
	                <h3>欢迎来到：<small>迈涯堂内容管理系统</small></h3>
	              </div>
	
	              <!-- <div class="title_right">
	                <div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
	                  <div class="input-group">
	                    <input type="text" class="form-control" placeholder="Search for...">
	                    <span class="input-group-btn">
	                      <button class="btn btn-default" type="button">Go!</button>
	                    </span>
	                  </div>
	                </div>
	              </div> -->
	            </div>
	          </div>
	        </div>
        </div>
        <!-- /page content -->

        <!-- footer content -->
        <footer>
          <div class="pull-right">
            Copyright ©2018 深圳市萌涯科技有限公司
          </div>
          <div class="clearfix"></div>
        </footer>
        <!-- /footer content -->
      </div>
    </div>
    <!-- jQuery -->
    <script src="../cms/vendors/jquery/dist/jquery.js"></script>
    <!-- Bootstrap -->
    <script src="../cms/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="../cms/vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <!--<script src="../cms/vendors/nprogress/nprogress.js"></script>-->
    <!-- gauge.js -->
    <script src="../cms/vendors/gauge.js/dist/gauge.min.js"></script>
    <!-- bootstrap-progressbar -->
    <script src="../cms/vendors/bootstrap-progressbar/bootstrap-progressbar.min.js"></script>
    <!-- iCheck -->
    <script src="../cms/vendors/iCheck/icheck.min.js"></script>
    <!-- Flot -->
    <script src="../cms/vendors/Flot/jquery.flot.js"></script>
    <script src="../cms/vendors/Flot/jquery.flot.pie.js"></script>
    <script src="../cms/vendors/Flot/jquery.flot.time.js"></script>
    <script src="../cms/vendors/Flot/jquery.flot.stack.js"></script>
    <script src="../cms/vendors/Flot/jquery.flot.resize.js"></script>
    <!-- Flot plugins -->
    <script src="../cms/vendors/flot.orderbars/js/jquery.flot.orderBars.js"></script>
    <script src="../cms/vendors/flot-spline/js/jquery.flot.spline.min.js"></script>
    <script src="../cms/vendors/flot.curvedlines/curvedLines.js"></script>
    <!-- iCheck -->
    <script src="../cms/vendors/iCheck/icheck.min.js"></script>
    <!-- Skycons -->
    <script src="../cms/vendors/skycons/skycons.js"></script>
    <!-- DateJS -->
    <script src="../cms/vendors/DateJS/build/date.js"></script>
    <!-- JQVMap -->
    <script src="../cms/vendors/jqvmap/dist/jquery.vmap.js"></script>
    <script src="../cms/vendors/jqvmap/dist/maps/jquery.vmap.world.js"></script>
    <script src="../cms/vendors/jqvmap/examples/js/jquery.vmap.sampledata.js"></script>
    <!-- bootstrap-daterangepicker -->
    <script src="../cms/vendors/moment/min/moment.min.js"></script>
    <script src="../cms/vendors/bootstrap-daterangepicker/daterangepicker.js"></script>
    <!-- Datatables -->
    <script src="../cms/vendors/datatables.net/js/jquery.dataTables.js"></script>
    <script src="../cms/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
    <script src="../cms/vendors/datatables.net-buttons/js/dataTables.buttons.min.js"></script>
    <script src="../cms/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js"></script>
    <script src="../cms/vendors/datatables.net-buttons/js/buttons.flash.min.js"></script>
    <script src="../cms/vendors/datatables.net-buttons/js/buttons.html5.min.js"></script>
    <script src="../cms/vendors/datatables.net-buttons/js/buttons.print.min.js"></script>
    <script src="../cms/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js"></script>
    <script src="../cms/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js"></script>
    <script src="../cms/vendors/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
    <script src="../cms/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js"></script>
    <script src="../cms/vendors/datatables.net-scroller/js/dataTables.scroller.min.js"></script>
    <script src="../cms/vendors/jszip/dist/jszip.min.js"></script>
    <script src="../cms/vendors/pdfmake/build/pdfmake.min.js"></script>
    <script src="../cms/vendors/pdfmake/build/vfs_fonts.js"></script>
    <!-- PNotify -->
    <script src="../cms/vendors/pnotify/dist/pnotify.js"></script>
    <script src="../cms/vendors/pnotify/dist/pnotify.buttons.js"></script>
    <script src="../cms/vendors/pnotify/dist/pnotify.nonblock.js"></script>
    <!-- bootstrap-datetimepicker -->
    <script src="../cms/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="../cms/build/js/custom.home.js"></script>
    <script src="../cms/js/home.js"></script>
    <script src="../cms/js/user.js"></script>
  </body>
</html>